Perfect curves and lines